// 错误处理方案： 错误类型
export enum HttpStatusCode {
  OK = 200,
  CreateOK = 201,
  StatusBadRequest = 400, // RFC 9110, 15.5.1
  StatusUnauthorized = 401, // RFC 9110, 15.5.2
  StatusForbidden = 403, // RFC 9110, 15.5.4
  StatusNotFound = 404, // RFC 9110, 15.5.5
  StatusMethodNotAllowed = 405, // RFC 9110, 15.5.6
  StatusUnprocessableEntity = 422, // RFC 9110, 15.5.21
  StatusInternalServerError = 500, // RFC 9110, 15.6.1
  StatusSendSmsFail = 2001, //发送短信没有错误但是失败
  StatusExpireVerifyCode = 2002, //验证码已经过期或者失效
  StatusErrVerifyCode = 2003, //验证码错误
}

export const API_BASEURL = 'http://localhost:8080';

export const API_MEILISEARCH = 'http://127.0.0.1:7700';

export const UPLOAD_URL = API_BASEURL + "/upload"

export const ICONFONT_CN_SRC = [
  '//at.alicdn.com/t/c/font_3627455_i3hnfwi0jjg.js',
];
